{% extends "base.html" %}
{% block title %}错误页面{% endblock %}
{% block head %}
    {{ super() }}
    <style>
        .err-page {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-top: 5em;
        }

        .tips {
            font-size: 16px;
            font-weight: bold;
        }

        .tips-1 {
            color: #8D939D;
        }
    </style>
{% endblock %}
{% block body %}
    <div class="container err-page">
        <span class="tips">{{ errmsg }}</span>
        <div class="weui-btn-area">
            <button class="weui-btn weui-btn_primary">返回上一页</button>
        </div>
    </div>
    {% block script %}
        {{ super() }}
        <script type="text/javascript">
            $("button").click(function () {
                history.back();
            })
        </script>
    {% endblock %}
{% endblock %}